package cn.edu.scau.dormitory_management_system.service;

import cn.edu.scau.dormitory_management_system.entity.MessageboardEntity;
import com.baomidou.mybatisplus.extension.service.IService;


import java.util.Map;

/**
 * 
 *
 * @author wanglingfu
 * @email 1006340605@qq.com
 * @date 2021-08-02 14:35:10
 */
public interface MessageboardService extends IService<MessageboardEntity> {
    //发布一则公告，需要的信息是：
    //Integer buildId，String title，String message
    boolean insertMessage(MessageboardEntity messageboardEntity);

    //根据id删除公告。
    boolean deleteMessage(Integer meId);
}

